using System;
using System.Collections.Generic;

namespace EIMS.Models.ViewModels
{
    // 图表数据项
    public class ChartDataItem
    {
        public string Label { get; set; }
        public int Value { get; set; }
    }
    
    // 客户报表视图模型
    public class CustomerReportViewModel
    {
        // 按类型统计客户数量
        public List<ChartDataItem> CustomersByType { get; set; }
        
        // 按信用等级统计客户数量
        public List<ChartDataItem> CustomersByCreditRating { get; set; }
        
        // 按地区统计客户数量
        public List<ChartDataItem> CustomersByRegion { get; set; }
        
        // 最近添加的客户
        public List<CustomerListItemViewModel> RecentCustomers { get; set; }
        
        public CustomerReportViewModel()
        {
            CustomersByType = new List<ChartDataItem>();
            CustomersByCreditRating = new List<ChartDataItem>();
            CustomersByRegion = new List<ChartDataItem>();
            RecentCustomers = new List<CustomerListItemViewModel>();
        }
    }
    
    // 供应商报表视图模型
    public class SupplierReportViewModel
    {
        // 按类型统计供应商数量
        public List<ChartDataItem> SuppliersByType { get; set; }
        
        // 按信用等级统计供应商数量
        public List<ChartDataItem> SuppliersByCreditRating { get; set; }
        
        // 按地区统计供应商数量
        public List<ChartDataItem> SuppliersByRegion { get; set; }
        
        // 最近添加的供应商
        public List<SupplierListItemViewModel> RecentSuppliers { get; set; }
        
        public SupplierReportViewModel()
        {
            SuppliersByType = new List<ChartDataItem>();
            SuppliersByCreditRating = new List<ChartDataItem>();
            SuppliersByRegion = new List<ChartDataItem>();
            RecentSuppliers = new List<SupplierListItemViewModel>();
        }
    }
    
    // 员工报表视图模型
    public class EmployeeReportViewModel
    {
        // 按部门统计员工数量
        public List<ChartDataItem> EmployeesByDepartment { get; set; }
        
        // 按职位统计员工数量
        public List<ChartDataItem> EmployeesByPosition { get; set; }
        
        // 按状态统计员工数量
        public List<ChartDataItem> EmployeesByStatus { get; set; }
        
        // 按月统计员工入职数量
        public List<ChartDataItem> EmployeesByJoinMonth { get; set; }
        
        public EmployeeReportViewModel()
        {
            EmployeesByDepartment = new List<ChartDataItem>();
            EmployeesByPosition = new List<ChartDataItem>();
            EmployeesByStatus = new List<ChartDataItem>();
            EmployeesByJoinMonth = new List<ChartDataItem>();
        }
    }
} 